package org.speed.mvc;

import org.speed.mvc.stragey.Error;
import org.speed.mvc.stragey.TypeEnum;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.util.Assert;

/**
 * Hello world!
 *
 */
@SpringBootApplication
public class App 
{
    public static void main( String[] args )
    {
    	//SpringApplication.run(App.class, args);
    	
    	Object object = null;
    	Assert.notNull(object,"object must not Null");
    	
    	TypeEnum.userType.post(new Error() {
			
			@Override
			public void log() {
				System.out.println("ERROR" + this.getClass().getName());
			}
		});
    	
    	
        System.out.println( "Hello World!" );
    }
}
